Add a scrollbar to the range testcase
authorMatthias Clasen <mclasen@redhat.com>
Tue, 21 Jun 2011 23:12:55 +0000 (19:12 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 5 Jul 2011 20:08:02 +0000 (16:08 -0400)
tests/a11y/range.txt
tests/a11y/range.ui

index cb9ce519e0b4f05dc3d0c5709fcf7ee2db795624..dfe18619b784cbb95c17f4beff1e67246caacc77 100644 (file)
@@ -6,50 +6,75 @@ window1
   <AtkComponent>
   layer: window
   alpha: 1
-  scale1
-    "slider"
+  grid1
+    "panel"
     parent: window1
     index: 0
-    state: enabled focusable horizontal sensitive showing visible
+    state: enabled horizontal sensitive showing visible
     toolkit: gail
     <AtkComponent>
     layer: widget
     alpha: 1
-    <AtkText>
-    text: ?45.5
-    character count: 5
-    caret offset: 0
-    default attributes: left-margin: 0
-                        right-margin: 0
-                        indent: 0
-                        invisible: false
-                        editable: false
-                        pixels-above-lines: 0
-                        pixels-below-lines: 0
-                        pixels-inside-wrap: 0
-                        bg-full-height: 0
-                        scale: 1
-                        rise: 0
-                        underline: none
-                        strikethrough: false
-                        bg-stipple: false
-                        fg-stipple: false
-                        fg-color: <omitted>
-                        bg-color: <omitted>
-                        wrap-mode: word
-                        justification: left
-                        size: <omitted>
-                        weight: <omitted>
-                        family-name: <omitted>
-                        stretch: <omitted>
-                        variant: <omitted>
-                        style: <omitted>
-                        language: <omitted>
-                        direction: <omitted>
-    <AtkAction>
-    action 0 name: activate
-    <AtkValue>
-    minimum value: 0.500000
-    maximum value: 99.500000
-    current value: 45.500000
-    minimum increment: 0.500000
+    scrollbar1
+      "scroll bar"
+      parent: grid1
+      index: 0
+      state: enabled focusable horizontal sensitive showing visible
+      toolkit: gail
+      <AtkComponent>
+      layer: widget
+      alpha: 1
+      <AtkAction>
+      action 0 name: activate
+      <AtkValue>
+      minimum value: 0.500000
+      maximum value: 99.500000
+      current value: 45.500000
+      minimum increment: 0.500000
+    scale1
+      "slider"
+      parent: grid1
+      index: 1
+      state: enabled focusable horizontal sensitive showing visible
+      toolkit: gail
+      <AtkComponent>
+      layer: widget
+      alpha: 1
+      <AtkText>
+      text: ‎45.5
+      character count: 5
+      caret offset: 0
+      default attributes: left-margin: 0
+                          right-margin: 0
+                          indent: 0
+                          invisible: false
+                          editable: false
+                          pixels-above-lines: 0
+                          pixels-below-lines: 0
+                          pixels-inside-wrap: 0
+                          bg-full-height: 0
+                          scale: 1
+                          rise: 0
+                          underline: none
+                          strikethrough: false
+                          bg-stipple: false
+                          fg-stipple: false
+                          fg-color: <omitted>
+                          bg-color: <omitted>
+                          wrap-mode: word
+                          justification: left
+                          size: <omitted>
+                          weight: <omitted>
+                          family-name: <omitted>
+                          stretch: <omitted>
+                          variant: <omitted>
+                          style: <omitted>
+                          language: <omitted>
+                          direction: <omitted>
+      <AtkAction>
+      action 0 name: activate
+      <AtkValue>
+      minimum value: 0.500000
+      maximum value: 99.500000
+      current value: 45.500000
+      minimum increment: 0.500000
index 21dee12507f057c5d5689bfb155b5f1577d3e429..9c1ac450fae2f85529a3f26ab3d78e9556d70f39 100644 (file)
     <property name="can_focus">False</property>
     <property name="type">popup</property>
     <child>
-      <object class="GtkScale" id="scale1">
+      <object class="GtkGrid" id="grid1">
         <property name="visible">True</property>
-        <property name="can_focus">True</property>
-        <property name="adjustment">adjustment1</property>
+        <child>
+          <object class="GtkScale" id="scale1">
+            <property name="visible">True</property>
+            <property name="can_focus">True</property>
+            <property name="adjustment">adjustment1</property>
+          </object>
+          <packing>
+            <property name="left_attach">0</property>
+            <property name="top_attach">0</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkScrollbar" id="scrollbar1">
+            <property name="visible">True</property>
+            <property name="can_focus">True</property>
+            <property name="adjustment">adjustment1</property>
+          </object>
+          <packing>
+            <property name="left_attach">1</property>
+            <property name="top_attach">0</property>
+          </packing>
+        </child>
       </object>
     </child>
   </object>